// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * SupplierInvoiceOrder
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "supplier_invoice_order", autoResultMap = true)
@Schema(title = "供应商发货单")
public class SupplierInvoiceOrder implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 单号
   */
  @TableField(value = "`supplier_invoice_order`")
  @Schema(title = "单号")
  private String supplierInvoiceOrder;

  /**
   * 供应商编号
   */
  @TableField(value = "`supplier_id`")
  @Schema(title = "供应商编号")
  private String supplierId;

  /**
   * 供应商名称
   */
  @TableField(value = "`supplier_name`")
  @Schema(title = "供应商名称")
  private String supplierName;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 采购单号
   */
  @TableField(value = "`purchase_order_code`")
  @Schema(title = "采购单号")
  private String purchaseOrderCode;

  /**
   * 发货单号
   */
  @TableField(value = "`inovice_code`")
  @Schema(title = "发货单号")
  private String inoviceCode;

  /**
   * 运输方式 (0 - 快递; 1 - 海运; 2 - 空运; 3 - 其他; )
   */
  @TableField(value = "`transport_mode`")
  @Schema(title = "运输方式")
  private String transportMode;

  /**
   * 物流商
   */
  @TableField(value = "`logistics_provider`")
  @Schema(title = "物流商")
  private String logisticsProvider;

  /**
   * 物流商单号
   */
  @TableField(value = "`logistics_tracking_number`")
  @Schema(title = "物流商单号")
  private String logisticsTrackingNumber;

  /**
   * 物流渠道
   */
  @TableField(value = "`logistics_channel`")
  @Schema(title = "物流渠道")
  private String logisticsChannel;

  /**
   * 物流信息
   */
  @TableField(value = "`logistics_info`")
  @Schema(title = "物流信息")
  private String logisticsInfo;

  /**
   * 预计到货时间
   */
  @TableField(value = "`expect_reach_time`")
  @Schema(title = "预计到货时间")
  private java.util.Date expectReachTime;

  /**
   * 实际发货时间
   */
  @TableField(value = "`reality_send_time`")
  @Schema(title = "实际发货时间")
  private java.util.Date realitySendTime;

  /**
   * 物流中心编码
   */
  @TableField(value = "`logistics_center_code`")
  @Schema(title = "物流中心编码")
  private String logisticsCenterCode;

  /**
   * 发货状态
   */
  @TableField(value = "`invoice_status`")
  @Schema(title = "发货状态")
  private String invoiceStatus;

  /**
   * 物流状态
   */
  @TableField(value = "`logistics_status`")
  @Schema(title = "物流状态")
  private String logisticsStatus;

  /**
   * 负责人
   */
  @TableField(value = "`principal`")
  @Schema(title = "负责人")
  private String principal;

  /**
   * 创建人
   */
  @TableField(value = "`lx_create_user`")
  @Schema(title = "创建人")
  private String lxCreateUser;

  /**
   * 物流预计时效
   */
  @TableField(value = "`logistics_expected_aging`")
  @Schema(title = "物流预计时效")
  private Integer logisticsExpectedAging;

  /**
   * 分摊方式
   */
  @TableField(value = "`allocation_type`")
  @Schema(title = "分摊方式")
  private String allocationType;

  /**
   * 备注
   */
  @TableField(value = "`remark`")
  @Schema(title = "备注")
  private String remark;
}
